set CUR=%~dp0
cd /D D:\RT-ThreadStudio\repo\Extract\Debugger_Support_Packages\RealThread\PyOCD\0.1.3\
pyocd.exe flash --target=N32G452RCL7 --erase=auto --frequency=1000000 %CUR%\rtthread.bin
cd /D %CUR%